import Vue from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'
import '@/assets/js/element'
import '@/assets/js/code'
import * as global from '@/assets/js/global.js'
import { Message, MessageBox } from 'element-ui'
import "@/assets/css/global.css"
import '@/assets/css/font.css'

Vue.config.productionTip = false


new Vue({
  render: h => h(App),
  created() {
    Vue.prototype.$bus = this,
      Vue.prototype.$message = Message,
      Vue.prototype.$global = global,
      Vue.prototype.$confirm = MessageBox.confirm
  },
  router,
  store,
}).$mount('#app')
